package com.dingding.special.common.facade.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.dingding.facade.special.ISpecialChannelOrdersFacade;
import com.dingding.facade.special.dto.ReqChannelOrderDTO;
import com.dingding.facade.special.dto.ReqChannelOrdersDTO;
import com.dingding.facade.special.dto.ResChannelOrderDTO;
import com.dingding.facade.special.dto.ResChannelOrdersListDTO;
import com.dingding.special.order.channel.service.ChannelOrderService;

/** 
 * @ClassName: ISpecialChannelOrdersFacadeImpl 
 * @Description: 专车-渠道订单查询
 * @author SUNZHICHENG 
 * @date 2016年9月13日 下午2:01:17 
 * 
*/
@Component("specialChannelOrdersFacade")
public class ISpecialChannelOrdersFacadeImpl implements ISpecialChannelOrdersFacade{
	
	@Resource(name="channelOrderService")
	ChannelOrderService ChannelOrderService;
	
	/**
	 * @Title: getChannelOrderListByCriteria 
	 * @Description: 根据条件查询当前渠道所有订单
	 * @author SUNZHICHENG  
	 * @date  2016年9月13日 上午9:55:47
	 * @since v2.5.0
	 */
	
	public ResChannelOrdersListDTO getChannelOrderListByCriteria(ReqChannelOrdersDTO reqChannelOrdersDTO){
		return ChannelOrderService.getChannelOrderListByCriteria(reqChannelOrdersDTO);
	};
	
	/**
	 * @Title: getChannelOrderInfoById 
	 * @Description: 根据订单id查询订单详细
	 * @author SUNZHICHENG  
	 * @date  2016年9月12日 下午8:37:26
	 * @since v2.5.0
	 */
	
	public ResChannelOrderDTO getChannelOrderInfoById(ReqChannelOrderDTO reqChannelOrderDTO){
		return ChannelOrderService.getChannelOrderInfoById(reqChannelOrderDTO);
	};
}
